#ifndef LOG_REG_H
#define LOG_REG_H
#include "regist_wid.h"
#include"tcpdatareceiver.h"
#include "mainwindow.h"
#include <QWidget>
#include<qtimer.h>
#include <QScreen>
#include<QTcpServer>
#include<QRadioButton>
#include<QMessageBox>
QT_BEGIN_NAMESPACE
namespace Ui { class log_reg; }
QT_END_NAMESPACE

class log_reg : public QWidget
{
    Q_OBJECT

public:
    log_reg(QWidget *parent = nullptr);
    ~log_reg();

private slots:

    void on_go_regist_clicked();
    void on_login_clicked();
    void SetUi();
private:
    Ui::log_reg *ui;
    QTcpSocket *tcp;
    regist_wid *ptr_reg;
    TcpDataReceiver *respense;
    MainWindow *main_ptr;
};
#endif // LOG_REG_H
